﻿<%@ Page Title="My Profile" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" 
	Inherits="System.Web.Mvc.ViewPage<MindMelder.Core.User>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <h2>My Profile</h2>

	<%= Html.ActionLink("Edit", "Edit") %>
	<%= Html.ActionLink("My skills", "Skills", new RouteValueDictionary { { "Id", ViewData.Model.Id }}) %>
	<table class="user-profile">
		<tr>
			<td>
				<label for="User.Name">Name:</label>
				<span id="User.Name"><%= ViewData.Model.FirstName %> <%= ViewData.Model.LastName %></span>
			</td>
		</tr>
		<tr>
			<td>
				<label for="User.Location">Location:</label>
				<span id="User.Location"><%= ViewData.Model.Location %></span>
			</td>
		</tr>
		<tr>
			<td>
				<label for="User.Age">Age:</label>
				<span id="User.Age"><%= ViewData.Model.DisplayAge %></span>
			</td>
		</tr>
		<tr>
			<td>
				<label for="User.OpenId">OpenId:</label>
				<span id="User.OpenId"><%= ViewData.Model.OpenId %></span>
			</td>
		</tr>
	</table>
</asp:Content>
